﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Public/Public.master" AutoEventWireup="true" CodeBehind="RecuperarSenha.aspx.cs" Inherits="HRP.Public.RecuperarSenha" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PublicMainContent" runat="server">
    <div class="container">
		<div class="full-content-center animated fadeInDownBig">
			<a href=""><img src="/images/logo.png" class="logo-login img-circle" alt="EmicData"></a>
			<div class="login-wrap">
				<div class="box-info">
				<h2 class="text-center"><strong>Recuperar Senha</strong></h2>
				
					 <label>
                        Introduza o email do seu registo. Será enviado uma nova senha para o seu email.
                        </label>
						<div class="form-group login-input">
                       
						<i class="fa fa-sign-in overlay"></i>
						<%--<input type="text" class="form-control text-input" placeholder="Username">--%>
                        <asp:TextBox ID="emailTB" class="form-control text-input" runat="server" placeholder="Email Associado"></asp:TextBox>
                       
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator61" ControlToValidate="emailTB" 
                        ValidationGroup="ValidaRegisto" runat="server" ErrorMessage="Email Invalido"></asp:RequiredFieldValidator>
                        
                        <asp:RegularExpressionValidator 
                        ValidationExpression="^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))$"
                        ID="RegularExpressionValidator1" ValidationGroup="ValidaRegisto" runat="server"
                        ControlToValidate="emailTB" Text="Email inválido"></asp:RegularExpressionValidator>
                        </div>
						
                    <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>

						
					  <asp:ValidationSummary runat="server" ID="validSummaryGroup" ValidationGroup="ValidaRegisto"
            HeaderText="Por favor corrija primeiro os campos assinalados" ShowSummary="false"
            ShowMessageBox="true" />
						
						<div class="row">
							<div class="col-sm-12">
                            <asp:LinkButton ID="loginLinkBT" class="btn btn-success btn-block" ValidationGroup="ValidaRegisto" runat="server" onclick="loginLinkBT_Click" 
                                    ><i class="fa fa-unlock"></i> Recuperar Senha</asp:LinkButton>
							</div>
							
						</div>
					
				
				</div>
					</div>
			
		</div>
	</div>
</asp:Content>
